package org.market.infrastructure.persistent.po;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: Insight
 * @Description: 抽奖奖品策略
 * @Date: 2025/2/4 上午9:05
 * @Version: 1.0
 */
@Data
public class StrategyAward {
    /**自增id*/
    private Long id;
    /**策略id*/
    private Long strategyId;
    /**奖品id*/
    private Integer awardId;
    /**奖品标题*/
    private String awardTitle;
    /**奖品副标题*/
    private String awardSubtitle;
    /**奖品总库存*/
    private Long awardCount;
    /**奖品余量*/
    private Long awardCountSurplus;
    /**中奖概率*/
    private BigDecimal awardRate;
    /**奖品次序*/
    private Integer sort;
    /**规则模型[1-抽奖策略规则,2-奖品获取规则]*/
    private String ruleModels;
    /**创建时间*/
    private Date createTime;
    /**更新时间*/
    private Date updateTime;
}
